package com.ruoyi.commission.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.commission.domain.Commission;

/**
 * 委托Service接口
 *
 * @author ruoyi
 * @date 2025-05-08
 */
public interface ICommissionService
{
    /**
     * 查询委托
     *
     * @param id 委托主键
     * @return 委托
     */
    public Commission selectCommissionById(Long id);

    /**
     * 查询委托列表
     *
     * @param commission 委托
     * @return 委托集合
     */
    public List<Commission> selectCommissionList(Commission commission);

    /**
     * 新增委托
     *
     * @param commission 委托
     * @return 结果
     */
    public int insertCommission(Commission commission);

    /**
     * 修改委托
     *
     * @param commission 委托
     * @return 结果
     */
    public int updateCommission(Commission commission);

    /**
     * 批量删除委托
     *
     * @param ids 需要删除的委托主键集合
     * @return 结果
     */
    public int deleteCommissionByIds(Long[] ids);

    /**
     * 批量逻辑删除委托
     *
     * @param ids 需要删除的委托主键集合
     * @return 结果
     */
    public int logicDeleteCommission(Long[] ids,String delType,Long delUser);
    /**
     * 删除委托信息
     *
     * @param id 委托主键
     * @return 结果
     */
    public int deleteCommissionById(Long id);

    public Map<String, Object> getDetectionContent(Long commissionId, String businessType);

    public String createExcel(Long commissionId,String inputPath, String outputPath,String savePath);

    public Map<String, String> getInputPathAndOutputPath();
}
